

function getExcelPosDetail(name_admin, param, type, callback) {
    let oData = {}, url = '/' + name_admin + '/excelPos/getExcelPosDetail';
    let info = [];
    $('tbody > tr').each(function () {
        let id = $.trim($(this).children('td.id').text()),
            pos_start = $.trim($(this).children('td.pos_start').children('input').val()),
            pos_end = $.trim($(this).children('td.pos_end').children('input').val());
        if (id === '') {
            return false;
        }
        info.push({id: id, pos_start: pos_start, pos_end: pos_end});
    })
    param.info = info;
    oData.param = param;
    ajax(type, url, oData, callback,0);
}
